import role from "../model/role.js"
import plugin from "../../../lib/plugins/plugin.js"
export class Role extends plugin {
  constructor() {
    super({
      name: "崩坏3个人信息",
      dsc: "崩坏3个人信息",
      event: "message",
      priority: 100,
      rule: [{ reg: "^#*崩三?(信息|个人信息)$", fnc: "role" }],
    })
  }

  async role() {
    let data = await new role().getData(this.e)
    this.renderImg("BH3-Plugin", `html/role/role`, data)
  }
}
